// cookie 操作
import Cookie from 'js-cookie'
const TokenKey = 'Admin-token'
// 获取token
export const getToken = () => {
	return Cookie.get(TokenKey)
}

export const setToken = token => {
	return Cookie.set(TokenKey, token)
}
export const removeToken = () => {
	return Cookie.remove(TokenKey)

}
